<?php
include("medline.class.php");

$service = new MedLine();

$service_result = $service->MediLineSearch("stomach");

    

foreach($service_result->list->document as $document)
{
    foreach($document->content as $content)
    {
        if($content["name"] == "title")
        {
            echo $content . "<br />";
        }
    }
}
?>
